.row
  .col-lg-4.col-md-offset-4
    %h2 Log in
    = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
      %div.form-group
        = f.label :email
        %br/
        = f.email_field :email, autofocus: true, class: 'form-control'
      %div.form-group
        = f.label :password
        %br/
        = f.password_field :password, autocomplete: "off", class: 'form-control'
      - if devise_mapping.rememberable?
        %div
          = f.check_box :remember_me
          = f.label :remember_me
      %div= f.submit "Log in", class: 'btn'
    = render "devise/shared/links"
